* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 100vw;
  height: 100vh;
  min-width: 1800px;
  max-width: 1920px;
  min-height: 960px;
  max-height: 1080px;
  margin: 0 auto;
  background-color: #041a21;
}

header {
  flex: 0 0 60px;
  display: flex;
  position: relative;
  background-image: url('../images/header-bg.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  .title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
    letter-spacing: 4px;
    z-index: 100;
  }
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.content {
  flex: 1;
  padding: 8px;
  border-radius: 4px;
  border: 1px dashed #1fc6ff;
}

.preview {
  display: flex;
  justify-content: space-around;
  .card-view {
    flex: 1;
    border: 1px solid #1fc6ff;
    &.asset {
      flex: 2;
    }
    &:not(:last-child) {
      margin-right: 10px;
    }
    .title {
      padding: 0 30px;
      height: 40px;
      line-height: 40px;
      color: #fff;
      font-weight: bold;
      background-image: url(../images/title-bg.png);
      background-size: 100% 100%;
    }
    ul {
      height: 400px;
      overflow-y: auto;
      margin: 10px 0;
      li {
        padding: 2px;
        color: #fff;
        cursor: pointer;
        &:hover {
          color: #1fc6ff;
        }
        &.active {
          color: #1fc6ff;
        }
      }
    }
  }
}

.displayer {
  display: flex;
  .display-view {
    flex: 1;
    display: flex;
    flex-direction: column;
    .settings {
      display: flex;
      align-items: center;
      margin: 8px;
      padding: 8px;
      height: 60px;
      background-color: #0d5f7a;
      border-radius: 4px;
      label {
        color: #fff;
        white-space: nowrap;
      }
      select {
        width: 240px;
        margin-right: 16px;
        cursor: pointer;
      }
    }
    .chart {
      flex: 1;
      margin: 8px;
      padding: 4px;
      border-radius: 4px;
      border: 1px solid #1fc6ff;
    }
  }
}
